import request from '@/utils/request'
// 轨迹名称维护列表
export const getTrajectory = function (data) {
  return request({
    url: '/system/trajectory/description/list',
    method: 'get',
    data,
  })
}
// 轨迹名称维护新增
export const addTrajectory = function (data) {
  return request({
    url: '/system/trajectory/description',
    method: 'post',
    data,
  })
}
// 轨迹名称维护修改
export const editTrajectory = function (data) {
  return request({
    url: '/system/trajectory/description',
    method: 'put',
    data,
  })
}
// 轨迹名称维护删除
export const delTrajectory = function (ids) {
  return request({
    url: `/system/trajectory/description/${ ids }`,
    method: 'delete',
  })
}
// 根据id查轨迹名称维护列表
export const getTrajectoryDetail = function (id) {
  return request({
    url: `/system/trajectory/description/${ id }`,
    method: 'get',
  })
}
